package com.document;

import org.nutz.mvc.annotation.Encoding;
import org.nutz.mvc.annotation.Fail;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.Modules;
import org.nutz.mvc.annotation.SetupBy;
import org.nutz.mvc.ioc.provider.ComboIocProvider;

import com.document.controll.BaseAction;
import com.document.controll.DirectoryAction;
import com.document.controll.LoginAction;
import com.document.controll.OrgAction;
import com.document.controll.UserAction;
import com.document.utils.DocSetup;

@Fail("json")
@IocBy(type=ComboIocProvider.class,args={
	"*org.nutz.ioc.loader.json.JsonLoader","/conf/datasource.json",
	"*org.nutz.ioc.loader.annotation.AnnotationIocLoader","com.document"})
@Modules({BaseAction.class,OrgAction.class,UserAction.class,LoginAction.class
	,DirectoryAction.class})
@Encoding(input="UTF-8",output="UTF-8")
@SetupBy(DocSetup.class)
public class MainModule {

}
